]> dgit.raspbian.org Git - gnome-shell.git/commit
overviewControls: Fix initial slide-in animation
authorFlorian Müllner <fmuellner@gnome.org>
Sun, 31 Aug 2014 00:18:51 +0000 (02:18 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Mon, 1 Sep 2014 22:19:37 +0000 (00:19 +0200)
commite60bf44c2e06d7aecaba2803bf48e53bc47a6ce3
tree5273ebd332963262dd00349a94f01f62564a1ed9
parent746a8692ac926702d42c72554469a6f48ad1cfbf
overviewControls: Fix initial slide-in animation

Controls are slided in by animating translationX from the actor's
width to 0; however as _updateTranslation() will skip the animation
when the property is already at its target value and 0 happens to be
the initial value of translationX, the initial animation is skipped.
Fix this by initializing translationX to undefined, which will always
differ from a valid target value.
js/ui/overviewControls.js